// 积分商城-商品页面接口
import request from '/@/utils/request';

// 积分商城-商品-列表接口
export function goodsList() {
	return request({
		url: '/pc/score_goods/list',
		method: 'post',
	});
}


// 积分商城-商品-添加/编辑接口
export function goodsAdd(data: any) {
	return request({
		url: '/pc/score_goods/save',
		method: 'post',
		data,
	});
}

// 积分商城-商品-删除接口
export function goodsDel(data: any) {
	return request({
		url: '/pc/score_goods/del',
		method: 'post',
		data,
	});
}

// 积分商城-商品-状态切换接口
export function goodsStatus(data: any) {
	return request({
		url: '/pc/score_goods/change',
		method: 'post',
		data,
	});
}
export function goodsTypeList(p0: { page: number; pageSize: number; }) {
	return request({
		url: '/pc/score_goods_type/list',
		method: 'post',
	});
}